-
Notifications
You must be signed in to change notification settings - Fork 194
Documentation Cleanup and Rustdoc Deployment Improvements #2129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the cross-links and links to benchmarks are useful, this PR doesn't address the corresponding issue:
- This PR doesn't clean up or reorganize documentation.
- It doesn't create a docs.rs following Cairo Native docs as a reference.
- While the aquamarine dependency is added, it is not used.
I think the corresponding issue has to be divided into sub issues so we avoid having a huge PR that attempts to address this. What do you think?
make hyper-threading-benchmarks | ||
``` | ||
|
||
Benchmark results are available in [docs/benchmarks/criterion_benchmark.pdf](docs/benchmarks/criterion_benchmark.pdf) and [docs/benchmarks/flamegraph.svg](docs/benchmarks/flamegraph.svg). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing most of this section?
//! # Cairo VM | ||
//! | ||
//! This crate provides a fast and safe implementation of the Cairo virtual machine in Rust. | ||
//! | ||
//! - [Project README](https://github.com/lambdaclass/cairo-vm/blob/main/README.md) | ||
//! - [Extended documentation](https://github.com/lambdaclass/cairo-vm/blob/main/docs/README.md) | ||
//! | ||
//! ## Features | ||
//! - STARK-friendly execution trace | ||
//! - Custom hint processor support | ||
//! - Tracing and debugging tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While the links are correct, the rest might be a copy (or can be included) in the README.
//! ## Example | ||
//! ```rust | ||
//! use cairo_vm::vm::vm_core::VirtualMachine; | ||
//! // ... usage example ... | ||
//! ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example doesn't seem to be very useful IMO.
//! ## Diagrams | ||
//! Mermaid diagrams are supported in rustdoc via the `aquamarine` dependency. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this mean? Why is this here?
Yes, i think you're right, maybe it would be really better to divide this issue |
Description
This pull request addresses #2091 Documentation Cleanup by reorganizing and improving the project documentation, enhancing cross-references, and automating the deployment of Rust API documentation.
Key changes include:
These changes make the documentation more discoverable, up-to-date, and easier to maintain, while also ensuring that both benchmarks and API docs are always available online.
Checklist